package com.hos.bean;

public class WriteResult {
    private final String message;
    private final boolean failed;

    public WriteResult(boolean failed, String message) {
        this.message = message;
        this.failed = failed;
    }

    public String getMessage() {
        return message;
    }

    public boolean isFailed() {
        return failed;
    }

    @Override
    public String toString() {
        return "FileResult{" +
                "message='" + message + '\'' +
                ", failed=" + failed +
                '}';
    }
}
